<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>p8_元素放大与过渡</title>
  <style>
    div{
      width: 100px;
      height: 100px ;
      margin: 100px auto 0;
      background-color: #f00;
      transition:2s;
    }
    div:hover{
        transform: scale(3);
      border-radius: 50px;
      transform:scale(3) rotate(720deg);
    }
  </style>
</head>
<body>
<div></div>
</body>
</html>